package study.ct.com.rxjavaapplication.service;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;
import study.ct.com.rxjavaapplication.bin.TripRes;

/**
 * Created by ct on 2017/9/28 0028.
 */

public interface CtService {

    @GET("trip")   //Query 参数过多时候 可以通过 Map 方式传递
    Call<TripRes> getTrip(@Query("q") String name);
}
